/*
* 功能描述：
* 创建日期：2023 年 10 月 
*/

#slider-container {
    position: relative;
    width: 700px;
    height: 500px;
    border-radius: 8px;
    margin: 100px auto;
    background-color: #a388e3;
    overflow: hidden;
}

.slider-list {
    display: flex;
    height: 100%;
    transition: all 600ms;
}

.slider {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center/cover;
}

.pre,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: #e7e7e7;
    background-color: rgba(162, 162, 162, 0.45);
    cursor: pointer;
}

.pre {
    left: 30px;
}

.next {
    right: 30px;
}